package com.bjpowernode.service.impl;

import com.bjpowernode.dao.TypeDao;
import com.bjpowernode.domain.Type;
import com.bjpowernode.service.TypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class TypeServiceImpl implements TypeService {
    @Resource
    private TypeDao typeDao;
    @Override
    public List<Type> findType() {
        return typeDao.selectType();
    }
}
